﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using rock.UI;
using rock.Model;


namespace rock.UI
{
  public  class Manager
    {
        private static Manager instance;
 
        private Manager()
        { 
        }

        public static Manager getInstance()
        {
            if (instance == null) {
                instance = new Manager();
            }
            return instance;
        }

        public Login loginFrom { get; set; }
        private ModelUSER_ACCOUNT _ModelUSER_ACCOUNT  =  new ModelUSER_ACCOUNT() { USERNAME = "TEST"} ;
        public ModelUSER_ACCOUNT userAccount { get { return _ModelUSER_ACCOUNT; } set{_ModelUSER_ACCOUNT = value;} }
        public ModelUSER_AUTHO   userAutho { get; set; }
        public Main mainFrom { get; set; }


        //分页大小
        private int  apageSize =20;

        public int pageSize { get { return apageSize; } set { apageSize = value; } }

       public Sunisoft.IrisSkin.SkinEngine skinEngine{get;set;}
    }
}
